package com.mall.mapper;

import com.mall.bean.SysUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by xiaochao on 2017/7/23.
 */
@Repository
public interface SysUserMapper {

    List<SysUser> getUserList();

    SysUser selectByUsername(@Param("username") String username);

    SysUser selectByUsernamePassword(@Param("username") String username, @Param("password") String password);



}
